//
//  TwitterDataManager.m
//  TuiTe
//
//  Created by 张 霄鹤 on 10-3-18.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import "TwitterDataManager.h"


@implementation TwitterDataManager

- (id)init{
	if(self = [super init]){
		users = [[NSMutableDictionary alloc] init];
	}
	return self;
}

- (BOOL)addUser:(User *)usr{
	id obj = [users objectForKey:usr.uid];
	BOOL bret = NO;
	if(!obj){
		[users setValue:usr forKey:usr.uid];
		bret = YES;
	}
	return bret;
}

- (void)dealloc{
	[super dealloc];
}

@end
